import apiKeys from "./api"
import {toListDataType} from "./types"
import http from "./serve"

export const httpLogout = (param?: any) => http.post(apiKeys.logout, param)
export const getHttpList = (param?: any) => http.get<toListDataType>(apiKeys.toListData, param)
export const getCarousel3dList = <T = any>(param?: any) => http.get<T>(apiKeys.carousel3dList, param)